(mm-add-meta-html-tag): Fix regexp matching meta tag.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 29 Mar 2010 10:16:23 +0000 (10:16 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 29 Mar 2010 10:16:23 +0000 (10:16 +0000)
lisp/gnus/ChangeLog
lisp/gnus/mm-decode.el

index f5b7b63743eb1b9c1c84a0d51f74f70320d75ef2..a74edb02e0c5f9d018ef22ded6366278ab4f6275 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-29  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
+
 2010-03-27  Chong Yidong  <cyd@stupidchicken.com>
 
        * message.el (message-default-mail-headers):
index a511253dddb0c6ca868c362842218f556a568ce7..ac05362ec0ce08abf3b04331447e3766c5967bec 100644 (file)
@@ -1265,7 +1265,7 @@ or replaced."
        (goto-char (point-min))
        (if (re-search-forward "\
 <meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']\
-text/\\(\\sw+\\)\\(?:\;\\s-*charset=\\(.+?\\)\\)?[\"'][^>]*>" nil t)
+text/\\(\\sw+\\)\\(?:\;\\s-*charset=\\(.+\\)\\)?[\"'][^>]*>" nil t)
            (if (and (match-beginning 2)
                     (string-match "\\`html\\'" (match-string 1)))
                ;; Don't modify existing meta tag.